
/* First created by JCasGen Thu Jun 25 00:06:40 UYT 2009 */
package org.idtem.component.algoritmo;

import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.FSGenerator;
import org.apache.uima.cas.FeatureStructure;
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
import org.apache.uima.cas.impl.FeatureImpl;
import org.apache.uima.cas.Feature;
import org.apache.uima.jcas.tcas.Annotation_Type;

/** 
 * Updated by JCasGen Mon Nov 09 22:28:21 UYST 2009
 * @generated */
public class SentenciaCompletitud_Type extends Annotation_Type {
  /** @generated */
  protected FSGenerator getFSGenerator() {return fsGenerator;}
  /** @generated */
  private final FSGenerator fsGenerator = 
    new FSGenerator() {
      public FeatureStructure createFS(int addr, CASImpl cas) {
  			 if (SentenciaCompletitud_Type.this.useExistingInstance) {
  			   // Return eq fs instance if already created
  		     FeatureStructure fs = SentenciaCompletitud_Type.this.jcas.getJfsFromCaddr(addr);
  		     if (null == fs) {
  		       fs = new SentenciaCompletitud(addr, SentenciaCompletitud_Type.this);
  			   SentenciaCompletitud_Type.this.jcas.putJfsFromCaddr(addr, fs);
  			   return fs;
  		     }
  		     return fs;
        } else return new SentenciaCompletitud(addr, SentenciaCompletitud_Type.this);
  	  }
    };
  /** @generated */
  public final static int typeIndexID = SentenciaCompletitud.typeIndexID;
  /** @generated 
     @modifiable */
  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.idtem.component.algoritmo.SentenciaCompletitud");
 
  /** @generated */
  final Feature casFeat_sentencia;
  /** @generated */
  final int     casFeatCode_sentencia;
  /** @generated */ 
  public int getSentencia(int addr) {
        if (featOkTst && casFeat_sentencia == null)
      jcas.throwFeatMissing("sentencia", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getRefValue(addr, casFeatCode_sentencia);
  }
  /** @generated */    
  public void setSentencia(int addr, int v) {
        if (featOkTst && casFeat_sentencia == null)
      jcas.throwFeatMissing("sentencia", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setRefValue(addr, casFeatCode_sentencia, v);}
    
  
 
  /** @generated */
  final Feature casFeat_tokensFraseEncontrados;
  /** @generated */
  final int     casFeatCode_tokensFraseEncontrados;
  /** @generated */ 
  public int getTokensFraseEncontrados(int addr) {
        if (featOkTst && casFeat_tokensFraseEncontrados == null)
      jcas.throwFeatMissing("tokensFraseEncontrados", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_tokensFraseEncontrados);
  }
  /** @generated */    
  public void setTokensFraseEncontrados(int addr, int v) {
        if (featOkTst && casFeat_tokensFraseEncontrados == null)
      jcas.throwFeatMissing("tokensFraseEncontrados", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_tokensFraseEncontrados, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantNombres;
  /** @generated */
  final int     casFeatCode_cantNombres;
  /** @generated */ 
  public int getCantNombres(int addr) {
        if (featOkTst && casFeat_cantNombres == null)
      jcas.throwFeatMissing("cantNombres", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantNombres);
  }
  /** @generated */    
  public void setCantNombres(int addr, int v) {
        if (featOkTst && casFeat_cantNombres == null)
      jcas.throwFeatMissing("cantNombres", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantNombres, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantNombresConOffset;
  /** @generated */
  final int     casFeatCode_cantNombresConOffset;
  /** @generated */ 
  public int getCantNombresConOffset(int addr) {
        if (featOkTst && casFeat_cantNombresConOffset == null)
      jcas.throwFeatMissing("cantNombresConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantNombresConOffset);
  }
  /** @generated */    
  public void setCantNombresConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantNombresConOffset == null)
      jcas.throwFeatMissing("cantNombresConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantNombresConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantVerbos;
  /** @generated */
  final int     casFeatCode_cantVerbos;
  /** @generated */ 
  public int getCantVerbos(int addr) {
        if (featOkTst && casFeat_cantVerbos == null)
      jcas.throwFeatMissing("cantVerbos", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantVerbos);
  }
  /** @generated */    
  public void setCantVerbos(int addr, int v) {
        if (featOkTst && casFeat_cantVerbos == null)
      jcas.throwFeatMissing("cantVerbos", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantVerbos, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantVerbosConOffset;
  /** @generated */
  final int     casFeatCode_cantVerbosConOffset;
  /** @generated */ 
  public int getCantVerbosConOffset(int addr) {
        if (featOkTst && casFeat_cantVerbosConOffset == null)
      jcas.throwFeatMissing("cantVerbosConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantVerbosConOffset);
  }
  /** @generated */    
  public void setCantVerbosConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantVerbosConOffset == null)
      jcas.throwFeatMissing("cantVerbosConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantVerbosConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdjetivos;
  /** @generated */
  final int     casFeatCode_cantAdjetivos;
  /** @generated */ 
  public int getCantAdjetivos(int addr) {
        if (featOkTst && casFeat_cantAdjetivos == null)
      jcas.throwFeatMissing("cantAdjetivos", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdjetivos);
  }
  /** @generated */    
  public void setCantAdjetivos(int addr, int v) {
        if (featOkTst && casFeat_cantAdjetivos == null)
      jcas.throwFeatMissing("cantAdjetivos", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdjetivos, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdjetivosConOffset;
  /** @generated */
  final int     casFeatCode_cantAdjetivosConOffset;
  /** @generated */ 
  public int getCantAdjetivosConOffset(int addr) {
        if (featOkTst && casFeat_cantAdjetivosConOffset == null)
      jcas.throwFeatMissing("cantAdjetivosConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdjetivosConOffset);
  }
  /** @generated */    
  public void setCantAdjetivosConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantAdjetivosConOffset == null)
      jcas.throwFeatMissing("cantAdjetivosConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdjetivosConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdverbios;
  /** @generated */
  final int     casFeatCode_cantAdverbios;
  /** @generated */ 
  public int getCantAdverbios(int addr) {
        if (featOkTst && casFeat_cantAdverbios == null)
      jcas.throwFeatMissing("cantAdverbios", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdverbios);
  }
  /** @generated */    
  public void setCantAdverbios(int addr, int v) {
        if (featOkTst && casFeat_cantAdverbios == null)
      jcas.throwFeatMissing("cantAdverbios", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdverbios, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdverbiosConOffset;
  /** @generated */
  final int     casFeatCode_cantAdverbiosConOffset;
  /** @generated */ 
  public int getCantAdverbiosConOffset(int addr) {
        if (featOkTst && casFeat_cantAdverbiosConOffset == null)
      jcas.throwFeatMissing("cantAdverbiosConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdverbiosConOffset);
  }
  /** @generated */    
  public void setCantAdverbiosConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantAdverbiosConOffset == null)
      jcas.throwFeatMissing("cantAdverbiosConOffset", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdverbiosConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantPalabras;
  /** @generated */
  final int     casFeatCode_cantPalabras;
  /** @generated */ 
  public int getCantPalabras(int addr) {
        if (featOkTst && casFeat_cantPalabras == null)
      jcas.throwFeatMissing("cantPalabras", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantPalabras);
  }
  /** @generated */    
  public void setCantPalabras(int addr, int v) {
        if (featOkTst && casFeat_cantPalabras == null)
      jcas.throwFeatMissing("cantPalabras", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantPalabras, v);}
    
  
 
  /** @generated */
  final Feature casFeat_ponderacionRelaciones;
  /** @generated */
  final int     casFeatCode_ponderacionRelaciones;
  /** @generated */ 
  public int getPonderacionRelaciones(int addr) {
        if (featOkTst && casFeat_ponderacionRelaciones == null)
      jcas.throwFeatMissing("ponderacionRelaciones", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_ponderacionRelaciones);
  }
  /** @generated */    
  public void setPonderacionRelaciones(int addr, int v) {
        if (featOkTst && casFeat_ponderacionRelaciones == null)
      jcas.throwFeatMissing("ponderacionRelaciones", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_ponderacionRelaciones, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantOffsets;
  /** @generated */
  final int     casFeatCode_cantOffsets;
  /** @generated */ 
  public int getCantOffsets(int addr) {
        if (featOkTst && casFeat_cantOffsets == null)
      jcas.throwFeatMissing("cantOffsets", "org.idtem.component.algoritmo.SentenciaCompletitud");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantOffsets);
  }
  /** @generated */    
  public void setCantOffsets(int addr, int v) {
        if (featOkTst && casFeat_cantOffsets == null)
      jcas.throwFeatMissing("cantOffsets", "org.idtem.component.algoritmo.SentenciaCompletitud");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantOffsets, v);}
    
  



  /** initialize variables to correspond with Cas Type and Features
	* @generated */
  public SentenciaCompletitud_Type(JCas jcas, Type casType) {
    super(jcas, casType);
    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
    casFeat_sentencia = jcas.getRequiredFeatureDE(casType, "sentencia", "org.idtem.component.freeling.Sentencia", featOkTst);
    casFeatCode_sentencia  = (null == casFeat_sentencia) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_sentencia).getCode();

 
    casFeat_tokensFraseEncontrados = jcas.getRequiredFeatureDE(casType, "tokensFraseEncontrados", "uima.cas.Integer", featOkTst);
    casFeatCode_tokensFraseEncontrados  = (null == casFeat_tokensFraseEncontrados) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tokensFraseEncontrados).getCode();

 
    casFeat_cantNombres = jcas.getRequiredFeatureDE(casType, "cantNombres", "uima.cas.Integer", featOkTst);
    casFeatCode_cantNombres  = (null == casFeat_cantNombres) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantNombres).getCode();

 
    casFeat_cantNombresConOffset = jcas.getRequiredFeatureDE(casType, "cantNombresConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantNombresConOffset  = (null == casFeat_cantNombresConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantNombresConOffset).getCode();

 
    casFeat_cantVerbos = jcas.getRequiredFeatureDE(casType, "cantVerbos", "uima.cas.Integer", featOkTst);
    casFeatCode_cantVerbos  = (null == casFeat_cantVerbos) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantVerbos).getCode();

 
    casFeat_cantVerbosConOffset = jcas.getRequiredFeatureDE(casType, "cantVerbosConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantVerbosConOffset  = (null == casFeat_cantVerbosConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantVerbosConOffset).getCode();

 
    casFeat_cantAdjetivos = jcas.getRequiredFeatureDE(casType, "cantAdjetivos", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdjetivos  = (null == casFeat_cantAdjetivos) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdjetivos).getCode();

 
    casFeat_cantAdjetivosConOffset = jcas.getRequiredFeatureDE(casType, "cantAdjetivosConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdjetivosConOffset  = (null == casFeat_cantAdjetivosConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdjetivosConOffset).getCode();

 
    casFeat_cantAdverbios = jcas.getRequiredFeatureDE(casType, "cantAdverbios", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdverbios  = (null == casFeat_cantAdverbios) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdverbios).getCode();

 
    casFeat_cantAdverbiosConOffset = jcas.getRequiredFeatureDE(casType, "cantAdverbiosConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdverbiosConOffset  = (null == casFeat_cantAdverbiosConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdverbiosConOffset).getCode();

 
    casFeat_cantPalabras = jcas.getRequiredFeatureDE(casType, "cantPalabras", "uima.cas.Integer", featOkTst);
    casFeatCode_cantPalabras  = (null == casFeat_cantPalabras) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantPalabras).getCode();

 
    casFeat_ponderacionRelaciones = jcas.getRequiredFeatureDE(casType, "ponderacionRelaciones", "uima.cas.Integer", featOkTst);
    casFeatCode_ponderacionRelaciones  = (null == casFeat_ponderacionRelaciones) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ponderacionRelaciones).getCode();

 
    casFeat_cantOffsets = jcas.getRequiredFeatureDE(casType, "cantOffsets", "uima.cas.Integer", featOkTst);
    casFeatCode_cantOffsets  = (null == casFeat_cantOffsets) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantOffsets).getCode();

  }
}



    